package com.nebula.pojo;

import java.util.Date;

public class User {
    private String username;

    private String password;

    private String nickname;

    private String realname;

    private String phone;

    private String email;

    private String sex;

    private Date birthday;

    private Integer groupid;

    private Long usedStorageSpace;

    private Integer isdataperfect;

    private Date createdtime;

    private Date updatedtime;
    
    private UserGroups userGroups;

    public User(String username, String password, String nickname, String realname, String phone, String email, String sex, Date birthday, Integer groupid, Long usedStorageSpace, Integer isdataperfect, Date createdtime, Date updatedtime) {
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.realname = realname;
        this.phone = phone;
        this.email = email;
        this.sex = sex;
        this.birthday = birthday;
        this.groupid = groupid;
        this.usedStorageSpace = usedStorageSpace;
        this.isdataperfect = isdataperfect;
        this.createdtime = createdtime;
        this.updatedtime = updatedtime;
    }

    public User() {
        super();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getGroupid() {
        return groupid;
    }

    public void setGroupid(Integer groupid) {
        this.groupid = groupid;
    }

    public Long getUsedStorageSpace() {
        return usedStorageSpace;
    }

    public void setUsedStorageSpace(Long usedStorageSpace) {
        this.usedStorageSpace = usedStorageSpace;
    }

    public Integer getIsdataperfect() {
        return isdataperfect;
    }

    public void setIsdataperfect(Integer isdataperfect) {
        this.isdataperfect = isdataperfect;
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getUpdatedtime() {
        return updatedtime;
    }

    public void setUpdatedtime(Date updatedtime) {
        this.updatedtime = updatedtime;
    }
	public UserGroups getUserGroups() {
		return userGroups;
	}

	public void setUserGroups(UserGroups userGroups) {
		this.userGroups = userGroups;
	}
}